const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  name: state => state.user.name,
  // user模块下的token
  token: state => state.user.token
  // avatar: state => state.user.toke
}
export default getters
